package com.pro.common.api.user.file.intf;

import com.pro.common.api.CommonConst;
import com.pro.common.api.R;
import com.pro.common.api.user.file.model.db.UserFileNode;
import com.pro.common.api.user.file.model.request.UserFileBatchImportRequest;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(name = CommonConst.ModulesUrl.userFile, contextId = "UserFileNodeFeignClient")
public interface UserFileNodeFeignClient {
    @PostMapping("/userFileNode/batchUpload")
    @Tag(name = "批量上传")
    List<R<UserFileNode>> batchUpload(@RequestBody UserFileBatchImportRequest request);


}
